Page({
  data: {
    contactInfo: {}
  },
  onLoad(options) {
    if (options.contactInfo) {
      const contactInfo = JSON.parse(decodeURIComponent(options.contactInfo));
      this.setData({ contactInfo });
    }
  }
});